﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using CloundUploader.Framework;
using CloundUploader.Framework.Log;

namespace CloundUploader
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            try
            {
                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                UploaderContext.Instance.Start();
            }
            catch(Exception ex)
            {
                UploaderContext.Instance.Log.Error("程序未处理异常", ex);
            }
        }
    }
}
